package com.cloudcc.cloudframe.ui.dialog;

/**
 * dialog控制接口
 * 
 * @author wangzhiqiang
 * @date 2015-2-24 下午8:58:29
 * 
 */
public interface DialogControl {

	/**
	 * 隐藏dialog
	 */
	public abstract void hideWaitDialog();

	/**
	 * 显示正在加载的dialog
	 * 
	 * @return
	 */
	public abstract WaitDialog showWaitDialog();

	/**
	 * 显示文字的dialog
	 * 
	 * @param resid
	 * @return
	 */
	public abstract WaitDialog showWaitDialog(int resid);

	/**
	 * 显示dialog
	 * 
	 * @param text
	 * @return
	 */
	public abstract WaitDialog showWaitDialog(String text);

}
